<?if(!defined("PROLOG_INCLUDED") || PROLOG_INCLUDED!==true)die();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
<head>
	<title><?=GetSiteName()?> :: <?=GetTitle()?></title>
	<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="/system/templates/<?=CURRENT_TPL?>/css/screen.css"  media="screen" />
    <link rel="stylesheet" type="text/css" href="/system/templates/<?=CURRENT_TPL?>/css/ui-sui.css" rel="stylesheet" />
	<link rel="stylesheet" type="text/css" href="/system/templates/<?=CURRENT_TPL?>/css/styles.css" media="screen" />
    
	<script type="text/javascript" src="/system/templates/<?=CURRENT_TPL?>/js/jquery.js"></script>
	<script type="text/javascript" src="/system/templates/<?=CURRENT_TPL?>/js/jquery-ui.js"></script>
	<script type="text/javascript" src="/system/templates/<?=CURRENT_TPL?>/js/script.js"></script>

</head>
<body>
<?if($USER->IsAdmin()):?>
	<?=ShowPanel()?>
<?endif?>
<div id="wrap">
	<div id="header">
    	<h1 id="logo-text"><a href="/"><?=GetSiteName()?></a></h1>
    	<p id="slogan"><?=GetSiteDescr()?></p>
    	<div  id="nav">
			<?=Component::getComponent("Menu", "top", Array("TYPE" => "top"));?>
    	</div>
    	<div id="header-image"></div>
	</div>
	<div id="content-outer" class="clear">
		<div id="content-wrap">
			<div id="content">
				<div id="left">
		        	<div class="sidemenu">
			            <?=Component::getComponent("Menu", "left", Array("TYPE" => "left"));?>
		         	 </div>
		          </div>
		          <div id="center">
				  <h3><?=GetTitle()?></h3>
				
		
